package com.nie.shoppdevstudy.mapper;

import com.nie.shoppdevstudy.bean.User;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface UserMapper {
    //通过用户名查询用户
    public User queryUserByName(String userName);
    //通过手机号码查询用户
    public User queryUserByPhone(String phoneNumber);
    //添加用户
    public void addUser(User user);
}
